package com.sunreal.paygateway.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.sunreal.paygateway.dao.model.MchInfo;

@Mapper
public interface MchInfoMapper {
    int deleteByPrimaryKey(String mchid);

    int insert(MchInfo record);

    int insertSelective(MchInfo record);

    MchInfo selectByPrimaryKey(String mchid);

    int updateByPrimaryKeySelective(MchInfo record);

    int updateByPrimaryKey(MchInfo record);

    Integer countByParams(@Param("paramMap")Map paramMap);

    List<MchInfo> selectByParams(int offset, int limit, @Param("paramMap")Map paramMap);
}
